package com.java110.mall.cart.bmo.businessQuery;

import com.alibaba.fastjson.JSONObject;
import com.java110.dto.product.ProductSeckillDto;
import com.java110.dto.product.ProductSeckillOrderDto;

import java.util.List;

public interface IBusinessQuerySeckill {
    /**
     * 根据商品名称秒杀商品
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param productSeckillDtos
     */
    void querySecKillByGoodsName(JSONObject reqJson, String searchValue, String shopId, List<ProductSeckillDto> productSeckillDtos);

    /**
     * 根据产品ID查询秒杀商品
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param productSeckillDtos
     */
    void querySecKillByProductId(JSONObject reqJson, String searchValue, String shopId, List<ProductSeckillDto> productSeckillDtos);

    /**
     * 根据秒杀ID查询订单
     * @param reqJson
     * @param groupId
     * @param shopId
     * @param productSeckillOrderDtos
     */
    void querySeckillOrderByKillId(JSONObject reqJson, String groupId, String shopId, List<ProductSeckillOrderDto> productSeckillOrderDtos);
}
